﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Profile.ascx.vb" Inherits="FrontEnd_Control_Users_Profile" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {

            $("#<%= btnRegister.ClientID %>").click(function () {
                if (validateFormInputs() == true) {

                    return true;
                } else {

                    return false;
                }
            });
        });
    }
</script>
<div class="HoTro" style="width: 768px;">
    <div class="TieuDeHoTro">
        <div class="">
            CẬP NHẬT THÔNG TIN CÁ NHÂN</div>
    </div>
    <div class="NoiDungHoTro">
        <div class="content_viewinfo">
            <!-- note form -->
            <div class="note_form">
                Các trường đánh dấu <span style="color: Red;">*</span> là bắt buộc</div>
            <!-- note form -->
            <!-- line tip form -->
            <div style="font-weight:bold;font-size:14px; color:Blue;">
                Thông tin Liên hệ
                </div>
                <div>
                    <table class="tableinfo" width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr class="rowinfo">
                            <td class="label" width="40%">
                                Họ và tên:
                            </td>
                            <td width="60%" class="input_text">
                                <cc1:ValidationTextBox ID="txtFullName" AssociatedLableText="họ và tên" CssClass="TextBox"
                                    MaxLength="16" runat="server" DataType="required"></cc1:ValidationTextBox>
                                <span style="color: Red;">*</span>
                            </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="label">
                                Ngày sinh:
                            </td>
                            <td class="input_text">
                                <cc2:ValidationDropdownlist ID="ddlDay" AssociatedLableText="ngày" CssClass="TextBox"
                                    Width="65" runat="server" DataType="required">
                                </cc2:ValidationDropdownlist>
                                &nbsp;
                                <cc2:ValidationDropdownlist ID="ddlMonth" CssClass="TextBox" AssociatedLableText="tháng"
                                    Width="70" runat="server" DataType="required">
                                </cc2:ValidationDropdownlist>
                                &nbsp;
                                <cc2:ValidationDropdownlist ID="ddlYear" CssClass="TextBox" AssociatedLableText="năm"
                                    Width="65" runat="server" DataType="required">
                                </cc2:ValidationDropdownlist>
                                <span style="color: Red;">*</span>
                            </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="label">
                                Giới tính:
                            </td>
                            <td class="input_text">
                                <cc2:ValidationDropdownlist ID="ddlGender" AssociatedLableText="giới tính" runat="server"
                                    CssClass="TextBox" Width="100px" DataType="required">
                                    <asp:ListItem Value="0">---Chọn---</asp:ListItem>
                                    <asp:ListItem Value="1">Nam</asp:ListItem>
                                    <asp:ListItem Value="2">Nữ</asp:ListItem>
                                </cc2:ValidationDropdownlist>
                                <span style="color: Red;">*</span>
                            </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="label">
                                Địa chỉ:
                            </td>
                            <td class="input_text">
                                <cc1:ValidationTextBox ID="txtDiaChi" runat="server" AssociatedLableText="địa chỉ"
                                    CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
                                <span>*</span>
                            </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="label">
                                Tỉnh\Thành Phố:
                                <td class="input_text">
                                    <cc2:ValidationDropdownlist ID="ddlKhuVuc" runat="server" AssociatedLableText="khu vực"
                                        Width="145px" CssClass='TextBox' DataType="required">
                                    </cc2:ValidationDropdownlist>
                                    <span style="color: Red;">*</span>
                                </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="style1">
                                Điện thoại:
                            </td>
                            <td class="style1">
                                <cc1:ValidationTextBox ID="txtDienThoai" runat="server" AssociatedLableText="điện thoại"
                                    CssClass='TextBox' DataType="required"></cc1:ValidationTextBox>
                                <span style="color: Red;">*</span>
                            </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="label">
                                Điện thoại khác:
                            </td>
                            <td class="input_text">
                                <cc1:ValidationTextBox ID="txtDienThoaiKhac" runat="server" CssClass='TextBox'></cc1:ValidationTextBox>
                            </td>
                        </tr>
                        <tr class="rowinfo">
                            <td class="label">
                                &nbsp;
                            </td>
                            <td class="input_text">
                                <asp:Button ID="btnRegister" runat="server" Text=" Cập nhật " CausesValidation="true"
                                    CssClass="button3" Style="float: left;" />
                                &nbsp;
                                <input type="reset" class="button-reset" value="Hủy" style="float: left;" />
                            </td>
                        </tr>
                        <tr style="height: 5px;">
                        </tr>
                    </table>
                </div>
            
            <!-- end line tip form -->
        </div>
    </div>
    <div class="bgbottom_conrent_main">
    </div>
</div>
<!-- end Box ReGis -->
<div style="display: none">
    <asp:HiddenField ID="Ablage" Value="abc" runat="server" />
</div>
<asp:UpdatePanel ID="uplUsers" runat="server">
    <ContentTemplate>
        <!-- box Regis -->
    </ContentTemplate>
</asp:UpdatePanel>
<div class="clear">
</div>
